<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="../../taglibs.jsp" %>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	
	<%@ include file="../../meta.jsp" %>
</head>
<body>

	<%@ include file="../../head.jsp" %>

	<div class="container-fluid" style="padding:0;">
		<div class="row-fluid">
			<div class="span2 cnksi_left_bg">
				
				<!-- left -->
				<%@ include file="../../leftmenu.jsp" %>
				
			</div>
			<!--/-->
			<div class="span10 ">
				<div class="cnksi_right_bg" style="width:99%">
					<div class="cksi_searchform_box">
						<div class="cksi_searchform_box">
							<form action="<#noparse>$</#noparse>{ctx }/${javaNameLowerAll!}/save"  name="addform" method="post" onsubmit="return check();">
								
								<c:if test="<#noparse>$</#noparse>{empty(entity.pid) }">
									<input type="hidden" name="entity.pid" value="<#noparse>$</#noparse>{sessionScope._login_user.attrs.pid }" />
								</c:if>
								<c:if test="<#noparse>$</#noparse>{!empty(entity.pid) }">
									<input type="hidden" name="entity.pid" value="<#noparse>$</#noparse>{entity.pid }" />
								</c:if>
								
								<input type="hidden" name="entity.${pk.name!}" value="<#noparse>$</#noparse>{entity.${pk.name!} }" />
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<#list columns as column>
									<tr>
										<td valign="middle">${column.comment!}：
											<input type="text" name="entity.${column.name!}" value="<#noparse>$</#noparse>{entity.${column.name!} }"/>
										</td>
									</tr>
									</#list>
								<tr>
									<td class="fucntiontd" style="border-bottom:none;" colspan="3" align="center" valign="middle">
									 	<a onclick="javascript:history.back();" class="btn btn-warning">取&nbsp;&nbsp;&nbsp;&nbsp;消</a>
									 	<button type="submit" class="btn btn-primary">保&nbsp;&nbsp;&nbsp;&nbsp;存</button>
									</td>
								</tr>
							</table>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
				
	<!-- footer -->
	<%@ include file="../../footer.jsp" %>
	</div>
</body>
</html>
 